package com.wangyg.Observer;

import lombok.Builder;
import lombok.Data;

/**
 * Created by wangyg6 on 2019/5/29 10:11.
 */
@Data
@Builder
public class Reciever implements Observer {
	private String name;

	@Override
	public void recieve(Object msg) {
		System.out.println("[" + name + "]接收到消息:" + msg);
	}
}
